package cn.tedu.antconlonysever.contract.service;


import cn.tedu.antcolonycommons.pojo.vo.PageData;
import cn.tedu.antconlonysever.contract.pojo.param.ContractAddNewParam;
import cn.tedu.antconlonysever.contract.pojo.param.ContractUpdateParam;
import cn.tedu.antconlonysever.contract.pojo.vo.ContractListVo;
import cn.tedu.antconlonysever.contract.pojo.vo.ContractStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IContractService {
    void addNew(ContractAddNewParam contractAddNewParam);
    void delete(Long id);
    void updateInfoById(Long id, ContractUpdateParam contractUpdateParam);
    ContractStandardVO getStandardById(Long id);
    PageData<ContractListVo> list(Integer pageNum);
    PageData<ContractListVo> list(Integer pageNum,Integer pageSize);

}
